<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        var foo = function () {
            console.log('foo', this);
            console.log( arguments );
        }
        // call 
        foo.call('call', '123', 123, 123, 432423, 22)

        foo.apply('apply', ['123', 123, 123,  432423, 22])

        // bind
        var bar = foo.bind('bind')
        bar(123,123,2345,234,23,423,4,324,234,23,312,23)

        var scores = [123,123,2345,234,23,423,4,324,234,23,312,23]

        scores.forEach(function(item){
            console.log(item,'this:',this);
        },222)

    </script>


</body>

</html>